﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VietThinks.Contract 
{
    public class RightInRoleDto : IdentifiableDto
    {
        public RightInRoleDto()
        {
           // this.rights = new List<RightDto>();
        }
        public bool Actived { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime ModifiedDate { get; set; }

        //protected readonly IList<RightDto> rights;
        //public virtual IEnumerable<RightDto> Rights { get { return this.rights .AsEnumerable(); } }
        
        public RoleDto Role { get; set; }
        public RightDto Right { get; set; }

    }
}
